package morning.cat.service;

import morning.cat.dao.UserDao;
import morning.cat.entity.User;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @describe: 类描述信息
 * @author: morningcat.zhang
 * @date: 2019/3/31 10:01 PM
 */
@Service
public class UserService {

    @Resource
    @Qualifier("userDaoImpl2")
    private UserDao userDao;

    public void add(User user){
        userDao.add(user);
    }
}
